{% extends "global/Page.html" %}
{% load otree %}

{% block title %}
    Results
{% endblock %}


{% block content %}
    <p>
        {% if player.volunteer %}
            You volunteered. As a result, your payoff is
            <strong>{{ player.payoff }}</strong>.
        {% elif group.num_volunteers > 0 %}
            You did not volunteer but some did. As a result, your payoff is
            <strong>{{ player.payoff }}</strong>.
        {% else %}
            You did not volunteer and no one did. As a result, your payoff is
            <strong>{{ player.payoff }}</strong>.
        {% endif %}
    </p>

    <p>{% next_button %}</p>

    {% include Constants.instructions_template %}

{% endblock %}
